package cn.iocoder.yudao.module.famous.doctor.convert.question;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.famous.doctor.controller.admin.question.vo.*;
import cn.iocoder.yudao.module.famous.doctor.dal.dataobject.question.FamQuestionDO;

/**
 * 常见问题 Convert
 *
 * @author 档案
 */
@Mapper
public interface FamQuestionConvert {

    FamQuestionConvert INSTANCE = Mappers.getMapper(FamQuestionConvert.class);

    FamQuestionDO convert(FamQuestionCreateReqVO bean);

    FamQuestionDO convert(FamQuestionUpdateReqVO bean);

    FamQuestionRespVO convert(FamQuestionDO bean);

    List<FamQuestionRespVO> convertList(List<FamQuestionDO> list);

    PageResult<FamQuestionRespVO> convertPage(PageResult<FamQuestionDO> page);

    List<FamQuestionExcelVO> convertList02(List<FamQuestionDO> list);

}
